package com.dj.mingkong.admin.biz.controller.music.vo.request;

import com.dj.mingkong.common.infrastructure.base.dto.query.QueryVo;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 音乐风格列表查询实体
 *
 * @author zenglonghui
 * @date: 2022/7/21 10:22
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class StyleQueryVo extends QueryVo {
    /**
     * 类型名称
     */
    @Size(max = 18, message = "name invalid")
    private String name;

    /**
     * 状态 0上架 1下架
     */
    @Max(value = 1, message = "status invalid")
    @Min(value = 0, message = "status invalid")
    private Integer status;
}
